const shotDao = require("../dao/shotDao");

module.exports.find = async function (params, pagination) {
    return await shotDao.find(params, pagination);
}

module.exports.findAll = async function () {
    return await shotDao.findAll();
}

module.exports.insert = async function (params) {
    return await shotDao.insert(params);
}

module.exports.findById = async function (id) {
    return await shotDao.findById(id);
}

module.exports.update = async function (params) {
    return await shotDao.update(params);
}

module.exports.remove = async function (id) {
    return await shotDao.remove(id);
}